package cn.edu.scau.cmi.liangzijian.client;

import cn.edu.scau.cmi.liangzijian.bridge.Aonong;
import cn.edu.scau.cmi.liangzijian.bridge.Beef;
import cn.edu.scau.cmi.liangzijian.bridge.Brand;
import cn.edu.scau.cmi.liangzijian.bridge.Meat;
import cn.edu.scau.cmi.liangzijian.bridge.Pork;
import cn.edu.scau.cmi.liangzijian.bridge.Wens;

public class BridgeClient {
	public static void main(String[] args) {
		Brand brand1 = new Wens();
		Meat meat1 = new Pork(brand1);
		meat1.showBrand();
		meat1.showType();
		
		Brand brand2 = new Aonong();
		Meat meat2 = new Beef(brand2);
		meat2.showBrand();
		meat2.showType();
		
	}
}
